package com.meshnetics.gb.util.checkers;

/**
 * Common interface for range checkers.
 *
 * @author Yury Aserchev (yaserchev@meshnetics.com)
 *         Date: 23.06.2008 16:33:59
 */
public interface RangeCheck {
    /**
     * Check range and throw exception if value is out of expected range.
     * @param value checking value.
     * @throws IllegalArgumentException if value is out of range.
     */
    public void checkRange(final long value);
}
